#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main(void)
{
    int a, b;
    a = 5;
    b = 9;
    swap(&a, &b);
    printf("a = %d, b = %d", a, b);
    return 0;
}
void swap(int* x, int* y)
{
    int temp;
    temp = *x;
    *x = *y;
    *y = temp;
}